package cn.fancylab.template.untrans.impl;

import org.springframework.stereotype.Service;

import cn.fancylab.xmpp.magent.JIDHolder;

@Service("jidHolder")
public class JIDHolderImpl implements JIDHolder {

	@Override
	public String[] getJIDUsernamePassword(String systemId, String hostname) {
		//String username = StringUtils.lowerCase(systemId + "_" + SystemUtils.getShortHostname(hostname));
		//String password = systemId + "XdlfkweSd" + systemId;// 自己调整规则
		String username = "dingbiao";
		String password = "1";
		return new String[] {username, password}; 
	}

}
